package com.herr.xml;

public class UserService {

    private UserDao userDao;
    private String stringValue;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setStringValue(String stringValue) {
        this.stringValue = stringValue;
    }

    public String getStringValue() {
        return stringValue;
    }

    public void printName(){
        userDao.printName();
    }

    public void printString(){
        System.out.println(stringValue);
    }


}
